$headerHeight: 58px;
$menuWidth: 240px;

.index-main{
  min-height: 100%;
  background-color: #e8eff7;

  .main-content-wrapper{
    position: absolute;
    top: $headerHeight;
    bottom: 0;
    width: 100%;

  }

  .sub-view{
    position: absolute;
    top: 0;
    left: $menuWidth;
    right: 0;
    bottom: 0;
  }

  .icon-item{
    padding: 0 20px;
    color: #fff;
    &.active{
      background: #1d6cbc;
      line-height: 57px;
    }
    .btn-group{
      position: relative;
      cursor: pointer;
    }
    .user-btn{
      padding: 0;
    }
    .user-pic{
      position: relative;
      display: inline-block;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: url("./../../assets/images/man.png") no-repeat center center;
      background-size: 100% 100%;
      vertical-align: middle;
      margin: 0 10px 0 0;
    }
    .filter-option{
      display: inline-block;
      width: 113px;
      max-width: 113px;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      vertical-align: middle;
      text-align: left;
      text-indent: 4px;
      left: 0;
      line-height: 30px;
    }
    .down-icon{
      color: #fff;
    }
    .drop-border-none{
      border: 0;
    }
    .dropdown-menu-list{
      position: absolute;
      width: 135px;
      height: 124px;
      top: -10px;
      right: -1px;
      margin: 0;
      padding: 0 20px;
      color: #666;
      border: 1px solid rgba(0, 0, 0, 0.2);
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
      background-clip: padding-box;
      background-color: #ffffff;
      border-radius: 4px;
      border-color: #d0d4d8;
      border-top-width: 0;
    }
    .drop-href{
      line-height: 42px;
      border-bottom: 1px solid #dfd9d8;
      &:last-child{
        border-width: 0;
      };
      &:hover,&:active{
        color: #078ad4;
      };
      a{
        font-size: 14px;
      }
    }
    .edit-pwd{
      margin-left: 4px;
    }
    .edit-pwd-icon{
      margin-right: 9px;
    }
    .arrow-up{
      border-bottom: 18px solid #fff;
      position: absolute;
      margin-left: -19px;
      width: 0;
      height: 0;
      border-left: 18px solid transparent;
      border-right: 18px solid transparent;
      z-index: 100;
      top: -20px;
      right: 6px;
    }
  }


/*  .icon-item{
    float: right;
    margin: 0 10px;
    cursor: pointer;
    img{
      width: 16px;
      vertical-align: middle;
    }
  }*/

  .logout{
    color: #fff;
    cursor: pointer;
  }
}

.header-top{
  height: $headerHeight;
  padding: 0 26px;
  line-height: 58px;
  background-color: #008bdd;

  .sys-name{
    float: left;
    width: 508px;
    height: 100%;
    background: url('../../assets/images/logo_txt2.png') no-repeat;
    background-position: center center;
    color: #fff;
    .name-pre{
      font-size: 22px;
    }
    .name-next{
      margin-left: 8px;
      font-size: 16px;
      vertical-align: -1px;
    }
  }
/*    .icon-msg-num{
    position: absolute;
    top: 9px;
    left: 8px;
    width: 17px;
    height: 17px;
    background: #fd5757;
    border-radius: 50%;
    font-style: normal;
    &:before{
      position: absolute;
      font-size: 10px;
      top: -22px;
      left: 4.5px;
      content: attr(title);
    }
  }*/
  .icon-br{
    border: 1px solid #195fa6;
    width: 1px;
    height: 20px;
    border-width: 0 1px 0 0;
    margin: 20px 0;
  }
  .icon-top-nav-count{
    position: absolute;
    display: inline-block;
    top: 7px;
    left: 6px;
    padding: 0 5px;
    line-height: 15px;
    border-radius: 16px;
    text-indent: 0;
    text-align: center;
    text-decoration: none;
    background: #fd5757;
    border: 1px solid #fd5757;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    z-index: 12;
  }
}

.ngdialog.pa-code-dialog .ngdialog-content{
  width: 300px!important;
  background: #fff;
  .code-img{
    padding-top: 20px;
    text-align: center;
  }
  .avatar-attachment-upload-outer{
    text-align: center;
  }
}
